.PHONY:all
all: udpserver udpclient
udpclient:UdpClient.cpp
	g++ -o $@ $^ -std=c++11 -lpthread
udpserver:Main.cpp
	g++ -o $@ $^ -std=c++11
.PHONY:clean
clean:
	rm -f udpclient udpserver